package cn.xlbweb.sso.repository;

import cn.xlbweb.sso.entity.UserDTO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * @author: bobi
 * @date: 2019-03-17 22:54
 * @description:
 */
public interface UserRepository extends JpaRepository<UserDTO, Integer>, JpaSpecificationExecutor<UserDTO> {

    UserDTO findByUsernameAndPassword(String username, String password);
}
